﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GPCodeConjurer
{
	internal class HandleMovedEventArgs : EventArgs
	{
		public HandleMovedEventArgs(GrabHandle grabHandle, float angle, float gdiAngle)
		{
			this.GrabHandle = grabHandle;
			this.Angle = angle;
			this.GDIAngle = gdiAngle;
		}

		/// <summary>
		/// The GrabHandle that was moved.
		/// </summary>
		public GrabHandle GrabHandle { get; set; }

		/// <summary>
		/// If handle is NodeCircular this is the current angle of the handle.
		/// </summary>
		public float Angle { get; set; }

		/// <summary>
		/// If handle is NodeCircular this is the current angle of the handle for GDI+.
		/// </summary>
		public float GDIAngle { get; set; }
	}
}
